package com.cardmanage.service;

import com.cardmanage.common.Result;
import com.cardmanage.pojo.Card;
import com.cardmanage.pojo.NewCard;
import jakarta.servlet.http.HttpServletRequest;

import java.util.List;

public interface CardService {
    Result<Card> GetOne(Integer id);

    Result<List> GetAll();

    Result create(NewCard newCard);

    Result editOne(Card card);

    Result delete(Integer id);
}
